{% extends 'web_template/default_one/templates/public/base.html' %}
{% block title %}{{ tlcms.content_data.data.title }}{% endblock %}
{% block keywords %}{{ tlcms.content_data.data.title }}_{{ tlcms.content_data.data.keyword }}{% endblock %}
{% block description %}{{ tlcms.content_data.data.description }}{% endblock %}
{% block header %}
<link href="{{ 'css/view.css'|tl_static }}" rel="stylesheet">
{% endblock %}
{% block article %}
    <article>
        <div class="l_box f_l">
            <div class="topnews">
                <h2>您现在的位置是:<a href="{{ url_for('webapp_bp.index_page') }}">首页</a>><a href="{{ url_for('webapp_bp.list_article_page',cid=tlcms.content_data.data.PID_Id) }}">{{ tlcms.content_data.data.PID }}</a>>{{ tlcms.content_data.data.title }}</h2>
                <div class="news_title" style="color: {{ tlcms.content_data.data.title_color }}">{{ tlcms.content_data.data.title }}</div>
                <div class="news_author"><span class="au01">{{ tlcms.content_data.data.author }}</span><span class="au02">{{ tlcms.content_data.data.update_time }}</span><span class="au03">共<b>{{ tlcms.content_data.data.clicks }}</b>人围观</span></div>
                <div class="news_about"><strong>简介</strong> :{{ tlcms.content_data.data.description }}</div>
                <div class="news_content">{{ tlcms.content_data.data.content|safe }}</div>
                <div class="fenx">下载地址:</div>
                <div class="nextinfo">
                    <p>上一篇 : <a href="{{ url_for('webapp_bp.article_page',uid=tlcms.content_data.last_page.ID) }}">{{ tlcms.content_data.last_page.title }}</a></p>
                    <p>下一篇 : <a href="{{ url_for('webapp_bp.article_page',uid=tlcms.content_data.next_page.ID) }}">{{ tlcms.content_data.next_page.title }}</a></p>
                </div>
                <div class="otherlink">
                    <h2>相关文章</h2>
                    <ul>
                        {% for similar in tlcms.content_data.similar  %}
                        <li><a href="{{ url_for('webapp_bp.article_page',uid=similar.ID) }}" title="{{ similar.title }}">{{ similar.title }}</a></li>
                        {% endfor %}
                    </ul>
                </div>
{#                <div class="news_pl">#}
{#                    <h2>相关评论</h2>#}
{#                    <ul>#}
{#                        <li>123</li>#}
{#                    </ul>#}
{#                </div>#}
            </div>
        </div>
        <div class="r_box f_r">

            <div class="tit01">
                <h3>网站公告</h3>
                <div class="notice">
                    <ul>
                        {% for foo in tlcms.notice[:6] %}
                            <li><a href="javascript:;" data-notice="{{ foo.notice_content }}">{{ foo.notice_title }}</a></li>
                        {% endfor %}
                    </ul>
                </div>
            </div>
            <!--tit01 end-->
            <div class="ad300x100"><img src="{{ 'images/1.jpg'|tl_static }}"></div>
            <div class="moreSelect" id="lp_right_select">
                <div class="ms-top">
                    <ul class="hd" id="tab">
                        <li class="cur"><a href="javascript:;">随机推荐</a></li>
                        <li><a href="javascript:;">点击排行</a></li>
                        <li><a href="javascript:;">站长推荐</a></li>
                    </ul>
                </div>
                <div class="ms-main" id="ms-main">
                    <div class="bd bd-news">
                        <ul>
                            {% for foo in tlcms.ran_doc[:6] %}
                                <li><a href="{{ url_for('webapp_bp.article_page',uid=foo.ID) }}" target="_blank">{{ foo.title }}</a></li>
                            {% endfor %}
                        </ul>
                    </div>
                    <div style="display: block;" class="bd bd-news">
                        <ul>
                            {% for foo in tlcms.click_doc[:6] %}
                                <li><a href="{{ url_for('webapp_bp.article_page',uid=foo.ID) }}" target="_blank">{{ foo.title }}</a></li>
                            {% endfor %}
                        </ul>
                    </div>
                    <div class="bd bd-news">
                        <ul>
                            {% for foo in tlcms.con_rec[:6] %}
                                <li><a href="{{ url_for('webapp_bp.article_page',uid=foo.ID) }}" target="_blank">{{ foo.title }}</a></li>
                            {% endfor %}
                        </ul>
                    </div>
                </div>
            </div>
            <div class="tuwen">
                <h3>图文推荐</h3>
                <ul>
                    {% for foo in tlcms.con_rec[:6] %}
                        <li><a href="{{ url_for('webapp_bp.article_page',uid=foo.ID) }}"><img src="{{ foo.imgUrl }}" alt="{{ foo.title }}"><b>{{ foo.title }}</b></a>
                            <p><span class="tulanmu"><a href="{{ url_for('webapp_bp.article_page',uid=foo.ID) }}">{{ foo.description[:25] }}</a></span>
                                <span class="tutime">{{ foo.update_time }}</span></p>
                        </li>
                    {% endfor %}
                </ul>
            </div>
            <div class="ad"><img src="{{ 'images/5.jpg'|tl_static }}"></div>
        </div>
    </article>
{% endblock %}